<!DOCTYPE html>
<html>

<body ng-app='myapp' >
<div class="modal-header">
    <h3 class="modal-title" id="modal-title">GWT</h3>
</div>
<div class="modal-body" id="modal-body">
    <h1>选择工人</h1>
    <!--{{model}}a-->
    <div>
        {{syntax}}
    </div>
    <div class="panel panel-default">
        <div class="panel-heading">工人市场</div>
        <div class="panel-body">
            <div class="row" ng-repeat="index in [0,1,2,3,4,5,6,7,8,9,10,11]">
                <div class="col-xs-2 col-md-2" ng-repeat="worker in gameProperties.listSpaceWorker|filter: { row: index }:true | orderBy:'column' " ng-click="selectWorker(worker)">
                    <div class="panel panel-default" style="">
                        <div class="panel-body">
                            {{worker.row}} - {{worker.column}}
                            <br/>
                            <span ng-if="worker.gwtSpaceTile!=null">
                            {{worker.gwtSpaceTile.info}}
                        </span>
                            <span class="badge" style="background-color: red" ng-show="worker.offset==1">&nbsp</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button>
</div>


</body>
</html>